<%--
  Created by IntelliJ IDEA.
  User: zheng
  Date: 2018/7/7
  Time: 21:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/WEB-INF/views/commons/common.jsp"/>
    <script src="/static/js/system/temporaryOdd.js"></script>
    <title>Title</title>
</head>
<body>

<table id="dg"></table>
<!--工具栏-->
<div id="tb">
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-add8',resizable:true,modal:true" data-cmd="changState">提审
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-edit8',resizable:true,modal:true" data-cmd="edit">编辑
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-person8',resizable:true,modal:true" data-cmd="queryApplicantItem">投保人详情
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-car8',resizable:true,modal:true" data-cmd="queryOddItem">保单详情
    </a>
    <a class="easyui-linkbutton" title="My Dialog"
       data-options="iconCls:'icon-reload8',resizable:true,modal:true" data-cmd="reload">刷新
    </a>&nbsp;&nbsp;

    <!--//高级查询-->
    <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="投保人/保单编号"/>
    &nbsp;&nbsp;
    申请日期:
    <input class="easyui-datebox" type="text" name="beginDate" id="beginDate"/>~
    <input class="easyui-datebox" type="text" name="endDate" id="endDate"/>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-search8'" data-cmd="query">查询</a>
</div>


<!--输入信息用 dialog-->
<!--编辑-->
<div id="dd" >
    <%--<div class="easyui-accordion" fit="true">--%>
    <form id="ff" method="post" >
        <div id="showInsure_panel" class="easyui-panel" title="车辆信息"
             style="width:100%;height:45%;padding:10px;background:#fafafa;"
             data-options="collapsible:true" align="center">
            <table>
                <input name="id" id="billId" type="hidden"/><br>
                <input name="carId" id="carId" type="hidden"/>
                <tr>
                    <td>车主姓名:<input name="carOwner" id="carname" class="easyui-textbox"/></td>
                    <td>车辆品牌:<input name="brand" id="brand" class="easyui-textbox"/></td>
                    <td>车辆型号:<input name="model" id="model" class="easyui-textbox"/></td>
                </tr>
                <tr>
                    <td>车牌号码:<input name="number" id="number" class="easyui-textbox"/></td>
                    <td>排气量/L:<input name="displacement" id="displacement" class="easyui-textbox"/>L</td>
                    <td>汽车分类:<input id="classify" name="classify" class="easyui-combobox"
                                    data-options="valueField:'value',panelHeight:'auto',textField:'text',
            data:[{text:'载人',value:'1'},{text:'载物',value:'0'}]"/></td>
                </tr>


                </tr>
                <tr>
                    <td>购置日期:<input name="buydate" id="buyDate" class="easyui-datebox"/></td>
                    <td>市场估价:<input name="evaluate" id="evaluate" class="easyui-textbox"/>万</td>
                    <td>车载大小:<input class="easyui-combobox" type="text" name="carsize" id="carsize" data-options="
        data:[{'value':'0' ,'text':'小型' },{'value':'1' ,'text':'中型' },{'value':'2' ,'text':'大型' },{'value':'3' ,'text':'超大型' }],
        valueField:'value', textField:'text', panelHeight:'auto'"/></td>
                </tr>

                </tr>
            </table>

        </div>
        <div id="showInsure_panel4" class="easyui-panel" title="保险产品"
             style="width:100%;height:60%;padding:10px;background:#fafafa;"
             data-options="collapsible:true" align="center">
            承保机构:<input tag="organization" class="easyui-combobox" id="agency"
                        data-options="valueField:'id', textField:'name',prompt:'选择承保机构',
                               url:'/organization/query', panelHeight:'auto'"/>

            <td>
                <a class="easyui-linkbutton" data-options="iconCls:'icon-save8'"
                   data-cmd="addProduct" text="添加产品"></a>
            </td>
            保险时长:<input id="showlimitYear_input" class="easyui-textbox"/><br/>
            <%-- <input id="showlimitYear_input" name="limitYear" value="1" class="easyui-textbox"/>年<br/>--%>

            <table align="center">
                <tbody>
                <tr>
                    <th>
                        总计<span id="showtotalAmount" style="color: red;font-size: 60px">0</span>元
                        <%--总计:<span id="showtotalAmount" style="font-size: xx-large;color: red">0</span>元--%>
                    </th>
                </tr>
                </tbody>
            </table>
            <table id="showproductInfo_datagrid"></table>


        </div>
    </form>


    <div id="odditem">
        <a class="easyui-linkbutton" title="My Dialog"
           data-options="iconCls:'icon-cancel8',resizable:true,modal:true" data-cmd="removeodditem">删除
        </a>
        <!--保存/取消按钮-->
        <div id="bb">
            <a href="#" class="easyui-linkbutton" iconCls='icon-save8' data-cmd="save">保存</a>
            <a href="#" class="easyui-linkbutton" iconCls='icon-cancel8' data-cmd="cancel">关闭</a>
        </div>
    </div>
</div>

<!-- 订单详情-->
<jsp:include page="/WEB-INF/views/commons/billDetail.jsp"></jsp:include>
<!-- 投保人详情-->
<div id="applicantItem">
    <form id="applicantItemForm" method="post">
        <table align="center" style="border-collapse: separate;border-spacing: 10px;">
            <tr>

                <td>客户姓名:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="name"/>
                </td>
            </tr>
            <tr>

                <td>身份证号:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="identityCard"/>
                </td>
            </tr>
            <tr>

                <td>年龄:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="age"/>
                </td>
            </tr>
            <tr>
                <td>性别:</td>
                <td>
                    <input class="easyui-combobox" type="text" name="gender" data-options="
                    data:[{'value':'0' ,'text':'女' },{'value':'1' ,'text':'男' }],
                    valueField:'value', textField:'text', panelHeight:'auto'">
                </td>
            </tr>
            <tr>
                <td>电话:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="phone"/>
                </td>
            </tr>

            <tr>
                <td>邮箱:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="email">
                </td>
                <%--    <tr>
                        <td>QQ:</td>
                        <td>
                            <input class="easyui-datebox" type="text" name=""/>
                        </td>
                    </tr>--%>
            <tr>
                <td>客户地址:</td>
                <td>
                    <input class="easyui-textbox" type="text" name="address"/>
                </td>
            </tr>
            </tr>
            <tr>
                <td>客户来源:</td>
                <td>
                <input tag="organization" class="easyui-combobox" id="clientSource"
                       data-options="valueField:'id', textField:'name',prompt:'选择承保机构',
                               url:'/dataDictionary/selectDataBySn?sn=clientSource', panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>职业:</td>
                <td>
                <input tag="organization" class="easyui-combobox" id="job"
                       data-options="valueField:'id', textField:'name',prompt:'选择承保机构',
                               url:'/dataDictionary/selectDataBySn?sn=job', panelHeight:'auto'"/>
                </td>
            </tr>
            <tr>
                <td>薪资水平:</td>
                <td>
                <input tag="organization" class="easyui-combobox" id="salary"
                       data-options="valueField:'id', textField:'name',prompt:'选择承保机构',
                               url:'/dataDictionary/selectDataBySn?sn=salaryLevel', panelHeight:'auto'"/>
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>
